[INFO] fetching crate linenoise-rust 0.2.1...
[INFO] testing linenoise-rust-0.2.1 against try#0abe69e6c16114311cc2700e972492e64d69c28f for pr-154065-1
[INFO] extracting crate linenoise-rust 0.2.1 into /workspace/builds/worker-5-tc2/source
[INFO] started tweaking crates.io crate linenoise-rust 0.2.1
[INFO] finished tweaking crates.io crate linenoise-rust 0.2.1
[INFO] tweaked toml for crates.io crate linenoise-rust 0.2.1 written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate linenoise-rust 0.2.1 on toolchain 0abe69e6c16114311cc2700e972492e64d69c28f
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 2 packages to latest compatible versions
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: file `/workspace/builds/worker-5-tc2/source/examples/linenoise_example.rs` found to be present in multiple build targets:
[INFO] [stderr]   * `bin` target `linenoise_example`
[INFO] [stderr]   * `example` target `linenoise_example`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] e799a28d17e381b2d9aeb6617d3b638d71537d07d4fc1e8561853a242c30cbc0
[INFO] running `Command { std: "docker" "start" "-a" "e799a28d17e381b2d9aeb6617d3b638d71537d07d4fc1e8561853a242c30cbc0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e799a28d17e381b2d9aeb6617d3b638d71537d07d4fc1e8561853a242c30cbc0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e799a28d17e381b2d9aeb6617d3b638d71537d07d4fc1e8561853a242c30cbc0", kill_on_drop: false }`
[INFO] [stdout] e799a28d17e381b2d9aeb6617d3b638d71537d07d4fc1e8561853a242c30cbc0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 85ebbca362de5ac0b1f51ed80026540be6a94c2388a151e8034ebfc167fb580b
[INFO] running `Command { std: "docker" "start" "-a" "85ebbca362de5ac0b1f51ed80026540be6a94c2388a151e8034ebfc167fb580b", kill_on_drop: false }`
[INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: file `/opt/rustwide/workdir/examples/linenoise_example.rs` found to be present in multiple build targets:
[INFO] [stderr]   * `bin` target `linenoise_example`
[INFO] [stderr]   * `example` target `linenoise_example`
[INFO] [stderr]    Compiling linenoise-rust v0.2.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: use of deprecated struct `gcc::Build`: crate has been renamed to `cc`, the `gcc` name is not maintained
[INFO] [stdout]  --> build.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 |   gcc::Build::new()
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `gcc::Build::new`: crate has been renamed to `cc`, the `gcc` name is not maintained
[INFO] [stdout]  --> build.rs:4:15
[INFO] [stdout]   |
[INFO] [stdout] 4 |   gcc::Build::new()
[INFO] [stdout]   |               ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: linenoise-rust@0.2.1: native/ConvertUTF.cpp: In function 'linenoise_ng::ConversionResult linenoise_ng::ConvertUTF16toUTF8(const UTF16**, const UTF16*, UTF8**, UTF8*, ConversionFlags)':
[INFO] [stderr] warning: linenoise-rust@0.2.1: native/ConvertUTF.cpp:271:72: warning: this statement may fall through [-Wimplicit-fallthrough=]
[INFO] [stderr] warning: linenoise-rust@0.2.1:   271 |             case 4: *--target = (UTF8)((ch | byteMark) & byteMask); ch >>= 6;
[INFO] [stderr] warning: linenoise-rust@0.2.1:       |                                                                     ~~~^~~~~
[INFO] [stderr] warning: linenoise-rust@0.2.1: native/ConvertUTF.cpp:272:13: note: here
[INFO] [stderr] warning: linenoise-rust@0.2.1:   272 |             case 3: *--target = (UTF8)((ch | byteMark) & byteMask); ch >>= 6;
[INFO] [stderr] warning: linenoise-rust@0.2.1:       |             ^~~~
[INFO] [stderr] warning: linenoise-rust@0.2.1: native/ConvertUTF.cpp:272:72: warning: this statement may fall through [-Wimplicit-fallthrough=]
[INFO] [stderr] warning: linenoise-rust@0.2.1:   272 |             case 3: *--target = (UTF8)((ch | byteMark) & byteMask); ch >>= 6;
[INFO] [stderr] warning: linenoise-rust@0.2.1:       |                                                                     ~~~^~~~~
[INFO] [stderr] warning: linenoise-rust@0.2.1: native/ConvertUTF.cpp:273:13: note: here
[INFO] [stderr] warning: linenoise-rust@0.2.1:   273 |             case 2: *--target = (UTF8)((ch | byteMark) & byteMask); ch >>= 6;
[INFO] [stderr] warning: linenoise-rust@0.2.1:       |             ^~~~
[INFO] [stderr] warning: linenoise-rust@0.2.1: native/ConvertUTF.cpp:273:72: warning: this statement may fall through [-Wimplicit-fallthrough=]
[INFO] [stderr] warning: linenoise-rust@0.2.1:   273 |             case 2: *--target = (UTF8)((ch | byteMark) & byteMask); ch >>= 6;
[INFO] [stderr] warning: linenoise-rust@0.2.1:       |                                                                     ~~~^~~~~
[INFO] [stderr] warning: linenoise-rust@0.2.1: native/ConvertUTF.cpp:274:13: note: here
[INFO] [stderr] warning: linenoise-rust@0.2.1:   274 |             case 1: *--target =  (UTF8)(ch | firstByteMark[bytesToWrite]);
[INFO] [stderr] warning: linenoise-rust@0.2.1:       |             ^~~~
[INFO] [stderr] warning: linenoise-rust@0.2.1: native/ConvertUTF.cpp: In function 'linenoise_ng::Boolean linenoise_ng::isLegalUTF8(const UTF8*, int)':
[INFO] [stderr] warning: linenoise-rust@0.2.1: native/ConvertUTF.cpp:302:13: warning: this statement may fall through [-Wimplicit-fallthrough=]
[INFO] [stderr] warning: linenoise-rust@0.2.1:   302 |     case 4: if ((a = (*--srcptr)) < 0x80 || a > 0xBF) return false;
[INFO] [stderr] warning: linenoise-rust@0.2.1:       |             ^~
[INFO] [stderr] warning: linenoise-rust@0.2.1: native/ConvertUTF.cpp:303:5: note: here
[INFO] [stderr] warning: linenoise-rust@0.2.1:   303 |     case 3: if ((a = (*--srcptr)) < 0x80 || a > 0xBF) return false;
[INFO] [stderr] warning: linenoise-rust@0.2.1:       |     ^~~~
[INFO] [stderr] warning: linenoise-rust@0.2.1: native/ConvertUTF.cpp:303:13: warning: this statement may fall through [-Wimplicit-fallthrough=]
[INFO] [stderr] warning: linenoise-rust@0.2.1:   303 |     case 3: if ((a = (*--srcptr)) < 0x80 || a > 0xBF) return false;
[INFO] [stderr] warning: linenoise-rust@0.2.1:       |             ^~
[INFO] [stderr] warning: linenoise-rust@0.2.1: native/ConvertUTF.cpp:304:5: note: here
[INFO] [stderr] warning: linenoise-rust@0.2.1:   304 |     case 2: if ((a = (*--srcptr)) > 0xBF) return false;
[INFO] [stderr] warning: linenoise-rust@0.2.1:       |     ^~~~
[INFO] [stderr] warning: linenoise-rust@0.2.1: native/ConvertUTF.cpp:306:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
[INFO] [stderr] warning: linenoise-rust@0.2.1:   306 |         switch (*source) {
[INFO] [stderr] warning: linenoise-rust@0.2.1:       |         ^~~~~~
[INFO] [stderr] warning: linenoise-rust@0.2.1: native/ConvertUTF.cpp:315:5: note: here
[INFO] [stderr] warning: linenoise-rust@0.2.1:   315 |     case 1: if (*source >= 0x80 && *source < 0xC2) return false;
[INFO] [stderr] warning: linenoise-rust@0.2.1:       |     ^~~~
[INFO] [stderr] warning: linenoise-rust@0.2.1: native/ConvertUTF.cpp: In function 'linenoise_ng::ConversionResult linenoise_ng::ConvertUTF8toUTF16(const UTF8**, const UTF8*, UTF16**, UTF16*, ConversionFlags)':
[INFO] [stderr] warning: linenoise-rust@0.2.1: native/ConvertUTF.cpp:358:41: warning: this statement may fall through [-Wimplicit-fallthrough=]
[INFO] [stderr] warning: linenoise-rust@0.2.1:   358 |             case 5: ch += *source++; ch <<= 6; /* remember, illegal UTF-8 */
[INFO] [stderr] warning: linenoise-rust@0.2.1:       |                                      ~~~^~~~~
[INFO] [stderr] warning: linenoise-rust@0.2.1: native/ConvertUTF.cpp:359:13: note: here
[INFO] [stderr] warning: linenoise-rust@0.2.1:   359 |             case 4: ch += *source++; ch <<= 6; /* remember, illegal UTF-8 */
[INFO] [stderr] warning: linenoise-rust@0.2.1:       |             ^~~~
[INFO] [stderr] warning: linenoise-rust@0.2.1: native/ConvertUTF.cpp:359:41: warning: this statement may fall through [-Wimplicit-fallthrough=]
[INFO] [stderr] warning: linenoise-rust@0.2.1:   359 |             case 4: ch += *source++; ch <<= 6; /* remember, illegal UTF-8 */
[INFO] [stderr] warning: linenoise-rust@0.2.1:       |                                      ~~~^~~~~
[INFO] [stderr] warning: linenoise-rust@0.2.1: native/ConvertUTF.cpp:360:13: note: here
[INFO] [stderr] warning: linenoise-rust@0.2.1:   360 |             case 3: ch += *source++; ch <<= 6;
[INFO] [stderr] warning: linenoise-rust@0.2.1:       |             ^~~~
[INFO] [stderr] warning: linenoise-rust@0.2.1: native/ConvertUTF.cpp:360:41: warning: this statement may fall through [-Wimplicit-fallthrough=]
[INFO] [stderr] warning: linenoise-rust@0.2.1:   360 |             case 3: ch += *source++; ch <<= 6;
[INFO] [stderr] warning: linenoise-rust@0.2.1:       |                                      ~~~^~~~~
[INFO] [stderr] warning: linenoise-rust@0.2.1: native/ConvertUTF.cpp:361:13: note: here
[INFO] [stderr] warning: linenoise-rust@0.2.1:   361 |             case 2: ch += *source++; ch <<= 6;
[INFO] [stderr] warning: linenoise-rust@0.2.1:       |             ^~~~
[INFO] [stderr] warning: linenoise-rust@0.2.1: native/ConvertUTF.cpp:361:41: warning: this statement may fall through [-Wimplicit-fallthrough=]
[INFO] [stderr] warning: linenoise-rust@0.2.1:   361 |             case 2: ch += *source++; ch <<= 6;
[INFO] [stderr] warning: linenoise-rust@0.2.1:       |                                      ~~~^~~~~
[INFO] [stderr] warning: linenoise-rust@0.2.1: native/ConvertUTF.cpp:362:13: note: here
[INFO] [stderr] warning: linenoise-rust@0.2.1:   362 |             case 1: ch += *source++; ch <<= 6;
[INFO] [stderr] warning: linenoise-rust@0.2.1:       |             ^~~~
[INFO] [stderr] warning: linenoise-rust@0.2.1: native/ConvertUTF.cpp:362:41: warning: this statement may fall through [-Wimplicit-fallthrough=]
[INFO] [stderr] warning: linenoise-rust@0.2.1:   362 |             case 1: ch += *source++; ch <<= 6;
[INFO] [stderr] warning: linenoise-rust@0.2.1:       |                                      ~~~^~~~~
[INFO] [stderr] warning: linenoise-rust@0.2.1: native/ConvertUTF.cpp:363:13: note: here
[INFO] [stderr] warning: linenoise-rust@0.2.1:   363 |             case 0: ch += *source++;
[INFO] [stderr] warning: linenoise-rust@0.2.1:       |             ^~~~
[INFO] [stderr] warning: linenoise-rust@0.2.1: native/ConvertUTF.cpp: In function 'linenoise_ng::ConversionResult linenoise_ng::ConvertUTF32toUTF8(const UTF32**, const UTF32*, UTF8**, UTF8*, ConversionFlags)':
[INFO] [stderr] warning: linenoise-rust@0.2.1: native/ConvertUTF.cpp:449:72: warning: this statement may fall through [-Wimplicit-fallthrough=]
[INFO] [stderr] warning: linenoise-rust@0.2.1:   449 |             case 4: *--target = (UTF8)((ch | byteMark) & byteMask); ch >>= 6;
[INFO] [stderr] warning: linenoise-rust@0.2.1:       |                                                                     ~~~^~~~~
[INFO] [stderr] warning: linenoise-rust@0.2.1: native/ConvertUTF.cpp:450:13: note: here
[INFO] [stderr] warning: linenoise-rust@0.2.1:   450 |             case 3: *--target = (UTF8)((ch | byteMark) & byteMask); ch >>= 6;
[INFO] [stderr] warning: linenoise-rust@0.2.1:       |             ^~~~
[INFO] [stderr] warning: linenoise-rust@0.2.1: native/ConvertUTF.cpp:450:72: warning: this statement may fall through [-Wimplicit-fallthrough=]
[INFO] [stderr] warning: linenoise-rust@0.2.1:   450 |             case 3: *--target = (UTF8)((ch | byteMark) & byteMask); ch >>= 6;
[INFO] [stderr] warning: linenoise-rust@0.2.1:       |                                                                     ~~~^~~~~
[INFO] [stderr] warning: linenoise-rust@0.2.1: native/ConvertUTF.cpp:451:13: note: here
[INFO] [stderr] warning: linenoise-rust@0.2.1:   451 |             case 2: *--target = (UTF8)((ch | byteMark) & byteMask); ch >>= 6;
[INFO] [stderr] warning: linenoise-rust@0.2.1:       |             ^~~~
[INFO] [stderr] warning: linenoise-rust@0.2.1: native/ConvertUTF.cpp:451:72: warning: this statement may fall through [-Wimplicit-fallthrough=]
[INFO] [stderr] warning: linenoise-rust@0.2.1:   451 |             case 2: *--target = (UTF8)((ch | byteMark) & byteMask); ch >>= 6;
[INFO] [stderr] warning: linenoise-rust@0.2.1:       |                                                                     ~~~^~~~~
[INFO] [stderr] warning: linenoise-rust@0.2.1: native/ConvertUTF.cpp:452:13: note: here
[INFO] [stderr] warning: linenoise-rust@0.2.1:   452 |             case 1: *--target = (UTF8) (ch | firstByteMark[bytesToWrite]);
[INFO] [stderr] warning: linenoise-rust@0.2.1:       |             ^~~~
[INFO] [stderr] warning: linenoise-rust@0.2.1: native/ConvertUTF.cpp: In function 'linenoise_ng::ConversionResult linenoise_ng::ConvertUTF8toUTF32(const UTF8**, const UTF8*, UTF32**, UTF32*, ConversionFlags)':
[INFO] [stderr] warning: linenoise-rust@0.2.1: native/ConvertUTF.cpp:484:41: warning: this statement may fall through [-Wimplicit-fallthrough=]
[INFO] [stderr] warning: linenoise-rust@0.2.1:   484 |             case 5: ch += *source++; ch <<= 6;
[INFO] [stderr] warning: linenoise-rust@0.2.1:       |                                      ~~~^~~~~
[INFO] [stderr] warning: linenoise-rust@0.2.1: native/ConvertUTF.cpp:485:13: note: here
[INFO] [stderr] warning: linenoise-rust@0.2.1:   485 |             case 4: ch += *source++; ch <<= 6;
[INFO] [stderr] warning: linenoise-rust@0.2.1:       |             ^~~~
[INFO] [stderr] warning: linenoise-rust@0.2.1: native/ConvertUTF.cpp:485:41: warning: this statement may fall through [-Wimplicit-fallthrough=]
[INFO] [stderr] warning: linenoise-rust@0.2.1:   485 |             case 4: ch += *source++; ch <<= 6;
[INFO] [stderr] warning: linenoise-rust@0.2.1:       |                                      ~~~^~~~~
[INFO] [stderr] warning: linenoise-rust@0.2.1: native/ConvertUTF.cpp:486:13: note: here
[INFO] [stderr] warning: linenoise-rust@0.2.1:   486 |             case 3: ch += *source++; ch <<= 6;
[INFO] [stderr] warning: linenoise-rust@0.2.1:       |             ^~~~
[INFO] [stderr] warning: linenoise-rust@0.2.1: native/ConvertUTF.cpp:486:41: warning: this statement may fall through [-Wimplicit-fallthrough=]
[INFO] [stderr] warning: linenoise-rust@0.2.1:   486 |             case 3: ch += *source++; ch <<= 6;
[INFO] [stderr] warning: linenoise-rust@0.2.1:       |                                      ~~~^~~~~
[INFO] [stderr] warning: linenoise-rust@0.2.1: native/ConvertUTF.cpp:487:13: note: here
[INFO] [stderr] warning: linenoise-rust@0.2.1:   487 |             case 2: ch += *source++; ch <<= 6;
[INFO] [stderr] warning: linenoise-rust@0.2.1:       |             ^~~~
[INFO] [stderr] warning: linenoise-rust@0.2.1: native/ConvertUTF.cpp:487:41: warning: this statement may fall through [-Wimplicit-fallthrough=]
[INFO] [stderr] warning: linenoise-rust@0.2.1:   487 |             case 2: ch += *source++; ch <<= 6;
[INFO] [stderr] warning: linenoise-rust@0.2.1:       |                                      ~~~^~~~~
[INFO] [stderr] warning: linenoise-rust@0.2.1: native/ConvertUTF.cpp:488:13: note: here
[INFO] [stderr] warning: linenoise-rust@0.2.1:   488 |             case 1: ch += *source++; ch <<= 6;
[INFO] [stderr] warning: linenoise-rust@0.2.1:       |             ^~~~
[INFO] [stderr] warning: linenoise-rust@0.2.1: native/ConvertUTF.cpp:488:41: warning: this statement may fall through [-Wimplicit-fallthrough=]
[INFO] [stderr] warning: linenoise-rust@0.2.1:   488 |             case 1: ch += *source++; ch <<= 6;
[INFO] [stderr] warning: linenoise-rust@0.2.1:       |                                      ~~~^~~~~
[INFO] [stderr] warning: linenoise-rust@0.2.1: native/ConvertUTF.cpp:489:13: note: here
[INFO] [stderr] warning: linenoise-rust@0.2.1:   489 |             case 0: ch += *source++;
[INFO] [stderr] warning: linenoise-rust@0.2.1:       |             ^~~~
[INFO] [stderr] warning: linenoise-rust@0.2.1: native/linenoise.cpp:131:23: warning: identifier 'char8_t' is a keyword in C++20 [-Wc++20-compat]
[INFO] [stderr] warning: linenoise-rust@0.2.1:   131 | typedef unsigned char char8_t;
[INFO] [stderr] warning: linenoise-rust@0.2.1:       |                       ^~~~~~~
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]    --> src/ffi.rs:976:40
[INFO] [stdout]     |
[INFO] [stdout] 976 | pub type linenoiseCompletionCallback = extern fn(*mut libc::c_char, *mut Struct_linenoiseCompletions);
[INFO] [stdout]     |                                        ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(missing_abi)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: this creates a dangling pointer because temporary `CString` is dropped at end of statement
[INFO] [stdout]   --> src/lib.rs:90:42
[INFO] [stdout]    |
[INFO] [stdout] 90 |     let cs = CString::new(line).unwrap().as_ptr();
[INFO] [stdout]    |              --------------------------- ^^^^^^ pointer created here
[INFO] [stdout]    |              |
[INFO] [stdout]    |              this `CString` is dropped at end of statement
[INFO] [stdout]    |
[INFO] [stdout]    = help: bind the `CString` to a variable such that it outlives the pointer returned by `as_ptr`
[INFO] [stdout]    = note: a dangling pointer is safe, but dereferencing one is undefined behavior
[INFO] [stdout]    = note: returning a pointer to a local variable will always result in a dangling pointer
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/reference/destructors.html>
[INFO] [stdout]    = note: `#[warn(dangling_pointers_from_temporaries)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: this creates a dangling pointer because temporary `CString` is dropped at end of statement
[INFO] [stdout]    --> src/lib.rs:109:45
[INFO] [stdout]     |
[INFO] [stdout] 109 |     let fname = CString::new(file).unwrap().as_ptr();
[INFO] [stdout]     |                 --------------------------- ^^^^^^ pointer created here
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 this `CString` is dropped at end of statement
[INFO] [stdout]     |
[INFO] [stdout]     = help: bind the `CString` to a variable such that it outlives the pointer returned by `as_ptr`
[INFO] [stdout]     = note: a dangling pointer is safe, but dereferencing one is undefined behavior
[INFO] [stdout]     = note: returning a pointer to a local variable will always result in a dangling pointer
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/reference/destructors.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: this creates a dangling pointer because temporary `CString` is dropped at end of statement
[INFO] [stdout]    --> src/lib.rs:119:45
[INFO] [stdout]     |
[INFO] [stdout] 119 |     let fname = CString::new(file).unwrap().as_ptr();
[INFO] [stdout]     |                 --------------------------- ^^^^^^ pointer created here
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 this `CString` is dropped at end of statement
[INFO] [stdout]     |
[INFO] [stdout]     = help: bind the `CString` to a variable such that it outlives the pointer returned by `as_ptr`
[INFO] [stdout]     = note: a dangling pointer is safe, but dereferencing one is undefined behavior
[INFO] [stdout]     = note: returning a pointer to a local variable will always result in a dangling pointer
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/reference/destructors.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/lib.rs:179:34
[INFO] [stdout]     |
[INFO] [stdout] 179 |         for external_callback in USER_COMPLETION.iter() {
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.78s
[INFO] running `Command { std: "docker" "inspect" "85ebbca362de5ac0b1f51ed80026540be6a94c2388a151e8034ebfc167fb580b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "85ebbca362de5ac0b1f51ed80026540be6a94c2388a151e8034ebfc167fb580b", kill_on_drop: false }`
[INFO] [stdout] 85ebbca362de5ac0b1f51ed80026540be6a94c2388a151e8034ebfc167fb580b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 4278d8a804380128c5d36ab70f081f6da6709c29dd134efab1a5c97df1127a97
[INFO] running `Command { std: "docker" "start" "-a" "4278d8a804380128c5d36ab70f081f6da6709c29dd134efab1a5c97df1127a97", kill_on_drop: false }`
[INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: file `/opt/rustwide/workdir/examples/linenoise_example.rs` found to be present in multiple build targets:
[INFO] [stderr]   * `bin` target `linenoise_example`
[INFO] [stderr]   * `example` target `linenoise_example`
[INFO] [stderr] warning: linenoise-rust@0.2.1: native/ConvertUTF.cpp: In function 'linenoise_ng::ConversionResult linenoise_ng::ConvertUTF16toUTF8(const UTF16**, const UTF16*, UTF8**, UTF8*, ConversionFlags)':
[INFO] [stdout] warning: use of deprecated struct `gcc::Build`: crate has been renamed to `cc`, the `gcc` name is not maintained
[INFO] [stdout]  --> build.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 |   gcc::Build::new()
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: linenoise-rust@0.2.1: native/ConvertUTF.cpp:271:72: warning: this statement may fall through [-Wimplicit-fallthrough=]
[INFO] [stdout] warning: use of deprecated associated function `gcc::Build::new`: crate has been renamed to `cc`, the `gcc` name is not maintained
[INFO] [stdout]  --> build.rs:4:15
[INFO] [stdout]   |
[INFO] [stdout] 4 |   gcc::Build::new()
[INFO] [stdout]   |               ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: linenoise-rust@0.2.1:   271 |             case 4: *--target = (UTF8)((ch | byteMark) & byteMask); ch >>= 6;
[INFO] [stderr] warning: linenoise-rust@0.2.1:       |                                                                     ~~~^~~~~
[INFO] [stderr] warning: linenoise-rust@0.2.1: native/ConvertUTF.cpp:272:13: note: here
[INFO] [stderr] warning: linenoise-rust@0.2.1:   272 |             case 3: *--target = (UTF8)((ch | byteMark) & byteMask); ch >>= 6;
[INFO] [stderr] warning: linenoise-rust@0.2.1:       |             ^~~~
[INFO] [stderr] warning: linenoise-rust@0.2.1: native/ConvertUTF.cpp:272:72: warning: this statement may fall through [-Wimplicit-fallthrough=]
[INFO] [stderr] warning: linenoise-rust@0.2.1:   272 |             case 3: *--target = (UTF8)((ch | byteMark) & byteMask); ch >>= 6;
[INFO] [stderr] warning: linenoise-rust@0.2.1:       |                                                                     ~~~^~~~~
[INFO] [stderr] warning: linenoise-rust@0.2.1: native/ConvertUTF.cpp:273:13: note: here
[INFO] [stderr] warning: linenoise-rust@0.2.1:   273 |             case 2: *--target = (UTF8)((ch | byteMark) & byteMask); ch >>= 6;
[INFO] [stderr] warning: linenoise-rust@0.2.1:       |             ^~~~
[INFO] [stderr] warning: linenoise-rust@0.2.1: native/ConvertUTF.cpp:273:72: warning: this statement may fall through [-Wimplicit-fallthrough=]
[INFO] [stderr] warning: linenoise-rust@0.2.1:   273 |             case 2: *--target = (UTF8)((ch | byteMark) & byteMask); ch >>= 6;
[INFO] [stderr] warning: linenoise-rust@0.2.1:       |                                                                     ~~~^~~~~
[INFO] [stderr] warning: linenoise-rust@0.2.1: native/ConvertUTF.cpp:274:13: note: here
[INFO] [stderr] warning: linenoise-rust@0.2.1:   274 |             case 1: *--target =  (UTF8)(ch | firstByteMark[bytesToWrite]);
[INFO] [stderr] warning: linenoise-rust@0.2.1:       |             ^~~~
[INFO] [stderr] warning: linenoise-rust@0.2.1: native/ConvertUTF.cpp: In function 'linenoise_ng::Boolean linenoise_ng::isLegalUTF8(const UTF8*, int)':
[INFO] [stderr] warning: linenoise-rust@0.2.1: native/ConvertUTF.cpp:302:13: warning: this statement may fall through [-Wimplicit-fallthrough=]
[INFO] [stderr] warning: linenoise-rust@0.2.1:   302 |     case 4: if ((a = (*--srcptr)) < 0x80 || a > 0xBF) return false;
[INFO] [stderr] warning: linenoise-rust@0.2.1:       |             ^~
[INFO] [stderr] warning: linenoise-rust@0.2.1: native/ConvertUTF.cpp:303:5: note: here
[INFO] [stderr] warning: linenoise-rust@0.2.1:   303 |     case 3: if ((a = (*--srcptr)) < 0x80 || a > 0xBF) return false;
[INFO] [stderr] warning: linenoise-rust@0.2.1:       |     ^~~~
[INFO] [stderr] warning: linenoise-rust@0.2.1: native/ConvertUTF.cpp:303:13: warning: this statement may fall through [-Wimplicit-fallthrough=]
[INFO] [stderr] warning: linenoise-rust@0.2.1:   303 |     case 3: if ((a = (*--srcptr)) < 0x80 || a > 0xBF) return false;
[INFO] [stderr] warning: linenoise-rust@0.2.1:       |             ^~
[INFO] [stderr] warning: linenoise-rust@0.2.1: native/ConvertUTF.cpp:304:5: note: here
[INFO] [stderr] warning: linenoise-rust@0.2.1:   304 |     case 2: if ((a = (*--srcptr)) > 0xBF) return false;
[INFO] [stderr] warning: linenoise-rust@0.2.1:       |     ^~~~
[INFO] [stderr] warning: linenoise-rust@0.2.1: native/ConvertUTF.cpp:306:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
[INFO] [stderr] warning: linenoise-rust@0.2.1:   306 |         switch (*source) {
[INFO] [stderr] warning: linenoise-rust@0.2.1:       |         ^~~~~~
[INFO] [stderr] warning: linenoise-rust@0.2.1: native/ConvertUTF.cpp:315:5: note: here
[INFO] [stderr] warning: linenoise-rust@0.2.1:   315 |     case 1: if (*source >= 0x80 && *source < 0xC2) return false;
[INFO] [stderr] warning: linenoise-rust@0.2.1:       |     ^~~~
[INFO] [stderr] warning: linenoise-rust@0.2.1: native/ConvertUTF.cpp: In function 'linenoise_ng::ConversionResult linenoise_ng::ConvertUTF8toUTF16(const UTF8**, const UTF8*, UTF16**, UTF16*, ConversionFlags)':
[INFO] [stderr] warning: linenoise-rust@0.2.1: native/ConvertUTF.cpp:358:41: warning: this statement may fall through [-Wimplicit-fallthrough=]
[INFO] [stderr] warning: linenoise-rust@0.2.1:   358 |             case 5: ch += *source++; ch <<= 6; /* remember, illegal UTF-8 */
[INFO] [stderr] warning: linenoise-rust@0.2.1:       |                                      ~~~^~~~~
[INFO] [stderr] warning: linenoise-rust@0.2.1: native/ConvertUTF.cpp:359:13: note: here
[INFO] [stderr] warning: linenoise-rust@0.2.1:   359 |             case 4: ch += *source++; ch <<= 6; /* remember, illegal UTF-8 */
[INFO] [stderr] warning: linenoise-rust@0.2.1:       |             ^~~~
[INFO] [stderr] warning: linenoise-rust@0.2.1: native/ConvertUTF.cpp:359:41: warning: this statement may fall through [-Wimplicit-fallthrough=]
[INFO] [stderr] warning: linenoise-rust@0.2.1:   359 |             case 4: ch += *source++; ch <<= 6; /* remember, illegal UTF-8 */
[INFO] [stderr] warning: linenoise-rust@0.2.1:       |                                      ~~~^~~~~
[INFO] [stderr] warning: linenoise-rust@0.2.1: native/ConvertUTF.cpp:360:13: note: here
[INFO] [stderr] warning: linenoise-rust@0.2.1:   360 |             case 3: ch += *source++; ch <<= 6;
[INFO] [stderr] warning: linenoise-rust@0.2.1:       |             ^~~~
[INFO] [stderr] warning: linenoise-rust@0.2.1: native/ConvertUTF.cpp:360:41: warning: this statement may fall through [-Wimplicit-fallthrough=]
[INFO] [stderr] warning: linenoise-rust@0.2.1:   360 |             case 3: ch += *source++; ch <<= 6;
[INFO] [stderr] warning: linenoise-rust@0.2.1:       |                                      ~~~^~~~~
[INFO] [stderr] warning: linenoise-rust@0.2.1: native/ConvertUTF.cpp:361:13: note: here
[INFO] [stderr] warning: linenoise-rust@0.2.1:   361 |             case 2: ch += *source++; ch <<= 6;
[INFO] [stderr] warning: linenoise-rust@0.2.1:       |             ^~~~
[INFO] [stderr] warning: linenoise-rust@0.2.1: native/ConvertUTF.cpp:361:41: warning: this statement may fall through [-Wimplicit-fallthrough=]
[INFO] [stderr] warning: linenoise-rust@0.2.1:   361 |             case 2: ch += *source++; ch <<= 6;
[INFO] [stderr] warning: linenoise-rust@0.2.1:       |                                      ~~~^~~~~
[INFO] [stderr] warning: linenoise-rust@0.2.1: native/ConvertUTF.cpp:362:13: note: here
[INFO] [stderr] warning: linenoise-rust@0.2.1:   362 |             case 1: ch += *source++; ch <<= 6;
[INFO] [stderr] warning: linenoise-rust@0.2.1:       |             ^~~~
[INFO] [stderr] warning: linenoise-rust@0.2.1: native/ConvertUTF.cpp:362:41: warning: this statement may fall through [-Wimplicit-fallthrough=]
[INFO] [stderr] warning: linenoise-rust@0.2.1:   362 |             case 1: ch += *source++; ch <<= 6;
[INFO] [stderr] warning: linenoise-rust@0.2.1:       |                                      ~~~^~~~~
[INFO] [stderr] warning: linenoise-rust@0.2.1: native/ConvertUTF.cpp:363:13: note: here
[INFO] [stderr] warning: linenoise-rust@0.2.1:   363 |             case 0: ch += *source++;
[INFO] [stderr] warning: linenoise-rust@0.2.1:       |             ^~~~
[INFO] [stderr] warning: linenoise-rust@0.2.1: native/ConvertUTF.cpp: In function 'linenoise_ng::ConversionResult linenoise_ng::ConvertUTF32toUTF8(const UTF32**, const UTF32*, UTF8**, UTF8*, ConversionFlags)':
[INFO] [stderr] warning: linenoise-rust@0.2.1: native/ConvertUTF.cpp:449:72: warning: this statement may fall through [-Wimplicit-fallthrough=]
[INFO] [stderr] warning: linenoise-rust@0.2.1:   449 |             case 4: *--target = (UTF8)((ch | byteMark) & byteMask); ch >>= 6;
[INFO] [stderr] warning: linenoise-rust@0.2.1:       |                                                                     ~~~^~~~~
[INFO] [stderr] warning: linenoise-rust@0.2.1: native/ConvertUTF.cpp:450:13: note: here
[INFO] [stderr] warning: linenoise-rust@0.2.1:   450 |             case 3: *--target = (UTF8)((ch | byteMark) & byteMask); ch >>= 6;
[INFO] [stderr] warning: linenoise-rust@0.2.1:       |             ^~~~
[INFO] [stderr] warning: linenoise-rust@0.2.1: native/ConvertUTF.cpp:450:72: warning: this statement may fall through [-Wimplicit-fallthrough=]
[INFO] [stderr] warning: linenoise-rust@0.2.1:   450 |             case 3: *--target = (UTF8)((ch | byteMark) & byteMask); ch >>= 6;
[INFO] [stderr] warning: linenoise-rust@0.2.1:       |                                                                     ~~~^~~~~
[INFO] [stderr] warning: linenoise-rust@0.2.1: native/ConvertUTF.cpp:451:13: note: here
[INFO] [stderr] warning: linenoise-rust@0.2.1:   451 |             case 2: *--target = (UTF8)((ch | byteMark) & byteMask); ch >>= 6;
[INFO] [stderr] warning: linenoise-rust@0.2.1:       |             ^~~~
[INFO] [stderr] warning: linenoise-rust@0.2.1: native/ConvertUTF.cpp:451:72: warning: this statement may fall through [-Wimplicit-fallthrough=]
[INFO] [stderr] warning: linenoise-rust@0.2.1:   451 |             case 2: *--target = (UTF8)((ch | byteMark) & byteMask); ch >>= 6;
[INFO] [stderr] warning: linenoise-rust@0.2.1:       |                                                                     ~~~^~~~~
[INFO] [stderr] warning: linenoise-rust@0.2.1: native/ConvertUTF.cpp:452:13: note: here
[INFO] [stderr] warning: linenoise-rust@0.2.1:   452 |             case 1: *--target = (UTF8) (ch | firstByteMark[bytesToWrite]);
[INFO] [stderr] warning: linenoise-rust@0.2.1:       |             ^~~~
[INFO] [stderr] warning: linenoise-rust@0.2.1: native/ConvertUTF.cpp: In function 'linenoise_ng::ConversionResult linenoise_ng::ConvertUTF8toUTF32(const UTF8**, const UTF8*, UTF32**, UTF32*, ConversionFlags)':
[INFO] [stderr] warning: linenoise-rust@0.2.1: native/ConvertUTF.cpp:484:41: warning: this statement may fall through [-Wimplicit-fallthrough=]
[INFO] [stderr] warning: linenoise-rust@0.2.1:   484 |             case 5: ch += *source++; ch <<= 6;
[INFO] [stderr] warning: linenoise-rust@0.2.1:       |                                      ~~~^~~~~
[INFO] [stderr] warning: linenoise-rust@0.2.1: native/ConvertUTF.cpp:485:13: note: here
[INFO] [stderr] warning: linenoise-rust@0.2.1:   485 |             case 4: ch += *source++; ch <<= 6;
[INFO] [stderr] warning: linenoise-rust@0.2.1:       |             ^~~~
[INFO] [stderr] warning: linenoise-rust@0.2.1: native/ConvertUTF.cpp:485:41: warning: this statement may fall through [-Wimplicit-fallthrough=]
[INFO] [stderr] warning: linenoise-rust@0.2.1:   485 |             case 4: ch += *source++; ch <<= 6;
[INFO] [stderr] warning: linenoise-rust@0.2.1:       |                                      ~~~^~~~~
[INFO] [stderr] warning: linenoise-rust@0.2.1: native/ConvertUTF.cpp:486:13: note: here
[INFO] [stderr] warning: linenoise-rust@0.2.1:   486 |             case 3: ch += *source++; ch <<= 6;
[INFO] [stderr] warning: linenoise-rust@0.2.1:       |             ^~~~
[INFO] [stderr] warning: linenoise-rust@0.2.1: native/ConvertUTF.cpp:486:41: warning: this statement may fall through [-Wimplicit-fallthrough=]
[INFO] [stderr] warning: linenoise-rust@0.2.1:   486 |             case 3: ch += *source++; ch <<= 6;
[INFO] [stderr] warning: linenoise-rust@0.2.1:       |                                      ~~~^~~~~
[INFO] [stderr] warning: linenoise-rust@0.2.1: native/ConvertUTF.cpp:487:13: note: here
[INFO] [stderr] warning: linenoise-rust@0.2.1:   487 |             case 2: ch += *source++; ch <<= 6;
[INFO] [stderr] warning: linenoise-rust@0.2.1:       |             ^~~~
[INFO] [stderr] warning: linenoise-rust@0.2.1: native/ConvertUTF.cpp:487:41: warning: this statement may fall through [-Wimplicit-fallthrough=]
[INFO] [stderr] warning: linenoise-rust@0.2.1:   487 |             case 2: ch += *source++; ch <<= 6;
[INFO] [stderr] warning: linenoise-rust@0.2.1:       |                                      ~~~^~~~~
[INFO] [stderr] warning: linenoise-rust@0.2.1: native/ConvertUTF.cpp:488:13: note: here
[INFO] [stderr] warning: linenoise-rust@0.2.1:   488 |             case 1: ch += *source++; ch <<= 6;
[INFO] [stderr] warning: linenoise-rust@0.2.1:       |             ^~~~
[INFO] [stderr] warning: linenoise-rust@0.2.1: native/ConvertUTF.cpp:488:41: warning: this statement may fall through [-Wimplicit-fallthrough=]
[INFO] [stderr] warning: linenoise-rust@0.2.1:   488 |             case 1: ch += *source++; ch <<= 6;
[INFO] [stderr] warning: linenoise-rust@0.2.1:       |                                      ~~~^~~~~
[INFO] [stderr] warning: linenoise-rust@0.2.1: native/ConvertUTF.cpp:489:13: note: here
[INFO] [stderr] warning: linenoise-rust@0.2.1:   489 |             case 0: ch += *source++;
[INFO] [stderr] warning: linenoise-rust@0.2.1:       |             ^~~~
[INFO] [stderr] warning: linenoise-rust@0.2.1: native/linenoise.cpp:131:23: warning: identifier 'char8_t' is a keyword in C++20 [-Wc++20-compat]
[INFO] [stderr] warning: linenoise-rust@0.2.1:   131 | typedef unsigned char char8_t;
[INFO] [stderr] warning: linenoise-rust@0.2.1:       |                       ^~~~~~~
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]    --> src/ffi.rs:976:40
[INFO] [stdout]     |
[INFO] [stdout] 976 | pub type linenoiseCompletionCallback = extern fn(*mut libc::c_char, *mut Struct_linenoiseCompletions);
[INFO] [stdout]     |                                        ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(missing_abi)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling linenoise-rust v0.2.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: this creates a dangling pointer because temporary `CString` is dropped at end of statement
[INFO] [stdout]   --> src/lib.rs:90:42
[INFO] [stdout]    |
[INFO] [stdout] 90 |     let cs = CString::new(line).unwrap().as_ptr();
[INFO] [stdout]    |              --------------------------- ^^^^^^ pointer created here
[INFO] [stdout]    |              |
[INFO] [stdout]    |              this `CString` is dropped at end of statement
[INFO] [stdout]    |
[INFO] [stdout]    = help: bind the `CString` to a variable such that it outlives the pointer returned by `as_ptr`
[INFO] [stdout]    = note: a dangling pointer is safe, but dereferencing one is undefined behavior
[INFO] [stdout]    = note: returning a pointer to a local variable will always result in a dangling pointer
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/reference/destructors.html>
[INFO] [stdout]    = note: `#[warn(dangling_pointers_from_temporaries)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: this creates a dangling pointer because temporary `CString` is dropped at end of statement
[INFO] [stdout]    --> src/lib.rs:109:45
[INFO] [stdout]     |
[INFO] [stdout] 109 |     let fname = CString::new(file).unwrap().as_ptr();
[INFO] [stdout]     |                 --------------------------- ^^^^^^ pointer created here
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 this `CString` is dropped at end of statement
[INFO] [stdout]     |
[INFO] [stdout]     = help: bind the `CString` to a variable such that it outlives the pointer returned by `as_ptr`
[INFO] [stdout]     = note: a dangling pointer is safe, but dereferencing one is undefined behavior
[INFO] [stdout]     = note: returning a pointer to a local variable will always result in a dangling pointer
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/reference/destructors.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: this creates a dangling pointer because temporary `CString` is dropped at end of statement
[INFO] [stdout]    --> src/lib.rs:119:45
[INFO] [stdout]     |
[INFO] [stdout] 119 |     let fname = CString::new(file).unwrap().as_ptr();
[INFO] [stdout]     |                 --------------------------- ^^^^^^ pointer created here
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 this `CString` is dropped at end of statement
[INFO] [stdout]     |
[INFO] [stdout]     = help: bind the `CString` to a variable such that it outlives the pointer returned by `as_ptr`
[INFO] [stdout]     = note: a dangling pointer is safe, but dereferencing one is undefined behavior
[INFO] [stdout]     = note: returning a pointer to a local variable will always result in a dangling pointer
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/reference/destructors.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/lib.rs:179:34
[INFO] [stdout]     |
[INFO] [stdout] 179 |         for external_callback in USER_COMPLETION.iter() {
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]    --> src/ffi.rs:976:40
[INFO] [stdout]     |
[INFO] [stdout] 976 | pub type linenoiseCompletionCallback = extern fn(*mut libc::c_char, *mut Struct_linenoiseCompletions);
[INFO] [stdout]     |                                        ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(missing_abi)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: this creates a dangling pointer because temporary `CString` is dropped at end of statement
[INFO] [stdout]   --> src/lib.rs:90:42
[INFO] [stdout]    |
[INFO] [stdout] 90 |     let cs = CString::new(line).unwrap().as_ptr();
[INFO] [stdout]    |              --------------------------- ^^^^^^ pointer created here
[INFO] [stdout]    |              |
[INFO] [stdout]    |              this `CString` is dropped at end of statement
[INFO] [stdout]    |
[INFO] [stdout]    = help: bind the `CString` to a variable such that it outlives the pointer returned by `as_ptr`
[INFO] [stdout]    = note: a dangling pointer is safe, but dereferencing one is undefined behavior
[INFO] [stdout]    = note: returning a pointer to a local variable will always result in a dangling pointer
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/reference/destructors.html>
[INFO] [stdout]    = note: `#[warn(dangling_pointers_from_temporaries)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: this creates a dangling pointer because temporary `CString` is dropped at end of statement
[INFO] [stdout]    --> src/lib.rs:109:45
[INFO] [stdout]     |
[INFO] [stdout] 109 |     let fname = CString::new(file).unwrap().as_ptr();
[INFO] [stdout]     |                 --------------------------- ^^^^^^ pointer created here
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 this `CString` is dropped at end of statement
[INFO] [stdout]     |
[INFO] [stdout]     = help: bind the `CString` to a variable such that it outlives the pointer returned by `as_ptr`
[INFO] [stdout]     = note: a dangling pointer is safe, but dereferencing one is undefined behavior
[INFO] [stdout]     = note: returning a pointer to a local variable will always result in a dangling pointer
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/reference/destructors.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: this creates a dangling pointer because temporary `CString` is dropped at end of statement
[INFO] [stdout]    --> src/lib.rs:119:45
[INFO] [stdout]     |
[INFO] [stdout] 119 |     let fname = CString::new(file).unwrap().as_ptr();
[INFO] [stdout]     |                 --------------------------- ^^^^^^ pointer created here
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 this `CString` is dropped at end of statement
[INFO] [stdout]     |
[INFO] [stdout]     = help: bind the `CString` to a variable such that it outlives the pointer returned by `as_ptr`
[INFO] [stdout]     = note: a dangling pointer is safe, but dereferencing one is undefined behavior
[INFO] [stdout]     = note: returning a pointer to a local variable will always result in a dangling pointer
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/reference/destructors.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/lib.rs:179:34
[INFO] [stdout]     |
[INFO] [stdout] 179 |         for external_callback in USER_COMPLETION.iter() {
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.29s
[INFO] running `Command { std: "docker" "inspect" "4278d8a804380128c5d36ab70f081f6da6709c29dd134efab1a5c97df1127a97", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4278d8a804380128c5d36ab70f081f6da6709c29dd134efab1a5c97df1127a97", kill_on_drop: false }`
[INFO] [stdout] 4278d8a804380128c5d36ab70f081f6da6709c29dd134efab1a5c97df1127a97
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 010d4eba150c01b5ff8cdbcaf8210481644c086af6aeedd25c01fd07bb3b6e04
[INFO] running `Command { std: "docker" "start" "-a" "010d4eba150c01b5ff8cdbcaf8210481644c086af6aeedd25c01fd07bb3b6e04", kill_on_drop: false }`
[INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: file `/opt/rustwide/workdir/examples/linenoise_example.rs` found to be present in multiple build targets:
[INFO] [stderr]   * `bin` target `linenoise_example`
[INFO] [stderr]   * `example` target `linenoise_example`
[INFO] [stderr] warning: use of deprecated struct `gcc::Build`: crate has been renamed to `cc`, the `gcc` name is not maintained
[INFO] [stderr]  --> build.rs:4:8
[INFO] [stderr]   |
[INFO] [stderr] 4 |   gcc::Build::new()
[INFO] [stderr]   |        ^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(deprecated)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated associated function `gcc::Build::new`: crate has been renamed to `cc`, the `gcc` name is not maintained
[INFO] [stderr]  --> build.rs:4:15
[INFO] [stderr]   |
[INFO] [stderr] 4 |   gcc::Build::new()
[INFO] [stderr]   |               ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `linenoise-rust` (build script) generated 2 warnings
[INFO] [stderr] warning: linenoise-rust@0.2.1: native/ConvertUTF.cpp: In function 'linenoise_ng::ConversionResult linenoise_ng::ConvertUTF16toUTF8(const UTF16**, const UTF16*, UTF8**, UTF8*, ConversionFlags)':
[INFO] [stderr] warning: linenoise-rust@0.2.1: native/ConvertUTF.cpp:271:72: warning: this statement may fall through [-Wimplicit-fallthrough=]
[INFO] [stderr] warning: linenoise-rust@0.2.1:   271 |             case 4: *--target = (UTF8)((ch | byteMark) & byteMask); ch >>= 6;
[INFO] [stderr] warning: linenoise-rust@0.2.1:       |                                                                     ~~~^~~~~
[INFO] [stderr] warning: linenoise-rust@0.2.1: native/ConvertUTF.cpp:272:13: note: here
[INFO] [stderr] warning: linenoise-rust@0.2.1:   272 |             case 3: *--target = (UTF8)((ch | byteMark) & byteMask); ch >>= 6;
[INFO] [stderr] warning: linenoise-rust@0.2.1:       |             ^~~~
[INFO] [stderr] warning: linenoise-rust@0.2.1: native/ConvertUTF.cpp:272:72: warning: this statement may fall through [-Wimplicit-fallthrough=]
[INFO] [stderr] warning: linenoise-rust@0.2.1:   272 |             case 3: *--target = (UTF8)((ch | byteMark) & byteMask); ch >>= 6;
[INFO] [stderr] warning: linenoise-rust@0.2.1:       |                                                                     ~~~^~~~~
[INFO] [stderr] warning: linenoise-rust@0.2.1: native/ConvertUTF.cpp:273:13: note: here
[INFO] [stderr] warning: linenoise-rust@0.2.1:   273 |             case 2: *--target = (UTF8)((ch | byteMark) & byteMask); ch >>= 6;
[INFO] [stderr] warning: linenoise-rust@0.2.1:       |             ^~~~
[INFO] [stderr] warning: linenoise-rust@0.2.1: native/ConvertUTF.cpp:273:72: warning: this statement may fall through [-Wimplicit-fallthrough=]
[INFO] [stderr] warning: linenoise-rust@0.2.1:   273 |             case 2: *--target = (UTF8)((ch | byteMark) & byteMask); ch >>= 6;
[INFO] [stderr] warning: linenoise-rust@0.2.1:       |                                                                     ~~~^~~~~
[INFO] [stderr] warning: linenoise-rust@0.2.1: native/ConvertUTF.cpp:274:13: note: here
[INFO] [stderr] warning: linenoise-rust@0.2.1:   274 |             case 1: *--target =  (UTF8)(ch | firstByteMark[bytesToWrite]);
[INFO] [stderr] warning: linenoise-rust@0.2.1:       |             ^~~~
[INFO] [stderr] warning: linenoise-rust@0.2.1: native/ConvertUTF.cpp: In function 'linenoise_ng::Boolean linenoise_ng::isLegalUTF8(const UTF8*, int)':
[INFO] [stderr] warning: linenoise-rust@0.2.1: native/ConvertUTF.cpp:302:13: warning: this statement may fall through [-Wimplicit-fallthrough=]
[INFO] [stderr] warning: linenoise-rust@0.2.1:   302 |     case 4: if ((a = (*--srcptr)) < 0x80 || a > 0xBF) return false;
[INFO] [stderr] warning: linenoise-rust@0.2.1:       |             ^~
[INFO] [stderr] warning: linenoise-rust@0.2.1: native/ConvertUTF.cpp:303:5: note: here
[INFO] [stderr] warning: linenoise-rust@0.2.1:   303 |     case 3: if ((a = (*--srcptr)) < 0x80 || a > 0xBF) return false;
[INFO] [stderr] warning: linenoise-rust@0.2.1:       |     ^~~~
[INFO] [stderr] warning: linenoise-rust@0.2.1: native/ConvertUTF.cpp:303:13: warning: this statement may fall through [-Wimplicit-fallthrough=]
[INFO] [stderr] warning: linenoise-rust@0.2.1:   303 |     case 3: if ((a = (*--srcptr)) < 0x80 || a > 0xBF) return false;
[INFO] [stderr] warning: linenoise-rust@0.2.1:       |             ^~
[INFO] [stderr] warning: linenoise-rust@0.2.1: native/ConvertUTF.cpp:304:5: note: here
[INFO] [stderr] warning: linenoise-rust@0.2.1:   304 |     case 2: if ((a = (*--srcptr)) > 0xBF) return false;
[INFO] [stderr] warning: linenoise-rust@0.2.1:       |     ^~~~
[INFO] [stderr] warning: linenoise-rust@0.2.1: native/ConvertUTF.cpp:306:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
[INFO] [stderr] warning: linenoise-rust@0.2.1:   306 |         switch (*source) {
[INFO] [stderr] warning: linenoise-rust@0.2.1:       |         ^~~~~~
[INFO] [stderr] warning: linenoise-rust@0.2.1: native/ConvertUTF.cpp:315:5: note: here
[INFO] [stderr] warning: linenoise-rust@0.2.1:   315 |     case 1: if (*source >= 0x80 && *source < 0xC2) return false;
[INFO] [stderr] warning: linenoise-rust@0.2.1:       |     ^~~~
[INFO] [stderr] warning: linenoise-rust@0.2.1: native/ConvertUTF.cpp: In function 'linenoise_ng::ConversionResult linenoise_ng::ConvertUTF8toUTF16(const UTF8**, const UTF8*, UTF16**, UTF16*, ConversionFlags)':
[INFO] [stderr] warning: linenoise-rust@0.2.1: native/ConvertUTF.cpp:358:41: warning: this statement may fall through [-Wimplicit-fallthrough=]
[INFO] [stderr] warning: linenoise-rust@0.2.1:   358 |             case 5: ch += *source++; ch <<= 6; /* remember, illegal UTF-8 */
[INFO] [stderr] warning: linenoise-rust@0.2.1:       |                                      ~~~^~~~~
[INFO] [stderr] warning: linenoise-rust@0.2.1: native/ConvertUTF.cpp:359:13: note: here
[INFO] [stderr] warning: linenoise-rust@0.2.1:   359 |             case 4: ch += *source++; ch <<= 6; /* remember, illegal UTF-8 */
[INFO] [stderr] warning: linenoise-rust@0.2.1:       |             ^~~~
[INFO] [stderr] warning: linenoise-rust@0.2.1: native/ConvertUTF.cpp:359:41: warning: this statement may fall through [-Wimplicit-fallthrough=]
[INFO] [stderr] warning: linenoise-rust@0.2.1:   359 |             case 4: ch += *source++; ch <<= 6; /* remember, illegal UTF-8 */
[INFO] [stderr] warning: linenoise-rust@0.2.1:       |                                      ~~~^~~~~
[INFO] [stderr] warning: linenoise-rust@0.2.1: native/ConvertUTF.cpp:360:13: note: here
[INFO] [stderr] warning: linenoise-rust@0.2.1:   360 |             case 3: ch += *source++; ch <<= 6;
[INFO] [stderr] warning: linenoise-rust@0.2.1:       |             ^~~~
[INFO] [stderr] warning: linenoise-rust@0.2.1: native/ConvertUTF.cpp:360:41: warning: this statement may fall through [-Wimplicit-fallthrough=]
[INFO] [stderr] warning: linenoise-rust@0.2.1:   360 |             case 3: ch += *source++; ch <<= 6;
[INFO] [stderr] warning: linenoise-rust@0.2.1:       |                                      ~~~^~~~~
[INFO] [stderr] warning: linenoise-rust@0.2.1: native/ConvertUTF.cpp:361:13: note: here
[INFO] [stderr] warning: linenoise-rust@0.2.1:   361 |             case 2: ch += *source++; ch <<= 6;
[INFO] [stderr] warning: linenoise-rust@0.2.1:       |             ^~~~
[INFO] [stderr] warning: linenoise-rust@0.2.1: native/ConvertUTF.cpp:361:41: warning: this statement may fall through [-Wimplicit-fallthrough=]
[INFO] [stderr] warning: linenoise-rust@0.2.1:   361 |             case 2: ch += *source++; ch <<= 6;
[INFO] [stderr] warning: linenoise-rust@0.2.1:       |                                      ~~~^~~~~
[INFO] [stderr] warning: linenoise-rust@0.2.1: native/ConvertUTF.cpp:362:13: note: here
[INFO] [stderr] warning: linenoise-rust@0.2.1:   362 |             case 1: ch += *source++; ch <<= 6;
[INFO] [stderr] warning: linenoise-rust@0.2.1:       |             ^~~~
[INFO] [stderr] warning: linenoise-rust@0.2.1: native/ConvertUTF.cpp:362:41: warning: this statement may fall through [-Wimplicit-fallthrough=]
[INFO] [stderr] warning: linenoise-rust@0.2.1:   362 |             case 1: ch += *source++; ch <<= 6;
[INFO] [stderr] warning: linenoise-rust@0.2.1:       |                                      ~~~^~~~~
[INFO] [stderr] warning: linenoise-rust@0.2.1: native/ConvertUTF.cpp:363:13: note: here
[INFO] [stderr] warning: linenoise-rust@0.2.1:   363 |             case 0: ch += *source++;
[INFO] [stderr] warning: linenoise-rust@0.2.1:       |             ^~~~
[INFO] [stderr] warning: linenoise-rust@0.2.1: native/ConvertUTF.cpp: In function 'linenoise_ng::ConversionResult linenoise_ng::ConvertUTF32toUTF8(const UTF32**, const UTF32*, UTF8**, UTF8*, ConversionFlags)':
[INFO] [stderr] warning: linenoise-rust@0.2.1: native/ConvertUTF.cpp:449:72: warning: this statement may fall through [-Wimplicit-fallthrough=]
[INFO] [stderr] warning: linenoise-rust@0.2.1:   449 |             case 4: *--target = (UTF8)((ch | byteMark) & byteMask); ch >>= 6;
[INFO] [stderr] warning: linenoise-rust@0.2.1:       |                                                                     ~~~^~~~~
[INFO] [stderr] warning: linenoise-rust@0.2.1: native/ConvertUTF.cpp:450:13: note: here
[INFO] [stderr] warning: linenoise-rust@0.2.1:   450 |             case 3: *--target = (UTF8)((ch | byteMark) & byteMask); ch >>= 6;
[INFO] [stderr] warning: linenoise-rust@0.2.1:       |             ^~~~
[INFO] [stderr] warning: linenoise-rust@0.2.1: native/ConvertUTF.cpp:450:72: warning: this statement may fall through [-Wimplicit-fallthrough=]
[INFO] [stderr] warning: linenoise-rust@0.2.1:   450 |             case 3: *--target = (UTF8)((ch | byteMark) & byteMask); ch >>= 6;
[INFO] [stderr] warning: linenoise-rust@0.2.1:       |                                                                     ~~~^~~~~
[INFO] [stderr] warning: linenoise-rust@0.2.1: native/ConvertUTF.cpp:451:13: note: here
[INFO] [stderr] warning: linenoise-rust@0.2.1:   451 |             case 2: *--target = (UTF8)((ch | byteMark) & byteMask); ch >>= 6;
[INFO] [stderr] warning: linenoise-rust@0.2.1:       |             ^~~~
[INFO] [stderr] warning: linenoise-rust@0.2.1: native/ConvertUTF.cpp:451:72: warning: this statement may fall through [-Wimplicit-fallthrough=]
[INFO] [stderr] warning: linenoise-rust@0.2.1:   451 |             case 2: *--target = (UTF8)((ch | byteMark) & byteMask); ch >>= 6;
[INFO] [stderr] warning: linenoise-rust@0.2.1:       |                                                                     ~~~^~~~~
[INFO] [stderr] warning: linenoise-rust@0.2.1: native/ConvertUTF.cpp:452:13: note: here
[INFO] [stderr] warning: linenoise-rust@0.2.1:   452 |             case 1: *--target = (UTF8) (ch | firstByteMark[bytesToWrite]);
[INFO] [stderr] warning: linenoise-rust@0.2.1:       |             ^~~~
[INFO] [stderr] warning: linenoise-rust@0.2.1: native/ConvertUTF.cpp: In function 'linenoise_ng::ConversionResult linenoise_ng::ConvertUTF8toUTF32(const UTF8**, const UTF8*, UTF32**, UTF32*, ConversionFlags)':
[INFO] [stderr] warning: linenoise-rust@0.2.1: native/ConvertUTF.cpp:484:41: warning: this statement may fall through [-Wimplicit-fallthrough=]
[INFO] [stderr] warning: linenoise-rust@0.2.1:   484 |             case 5: ch += *source++; ch <<= 6;
[INFO] [stderr] warning: linenoise-rust@0.2.1:       |                                      ~~~^~~~~
[INFO] [stderr] warning: linenoise-rust@0.2.1: native/ConvertUTF.cpp:485:13: note: here
[INFO] [stderr] warning: linenoise-rust@0.2.1:   485 |             case 4: ch += *source++; ch <<= 6;
[INFO] [stderr] warning: linenoise-rust@0.2.1:       |             ^~~~
[INFO] [stderr] warning: linenoise-rust@0.2.1: native/ConvertUTF.cpp:485:41: warning: this statement may fall through [-Wimplicit-fallthrough=]
[INFO] [stderr] warning: linenoise-rust@0.2.1:   485 |             case 4: ch += *source++; ch <<= 6;
[INFO] [stderr] warning: linenoise-rust@0.2.1:       |                                      ~~~^~~~~
[INFO] [stderr] warning: linenoise-rust@0.2.1: native/ConvertUTF.cpp:486:13: note: here
[INFO] [stderr] warning: linenoise-rust@0.2.1:   486 |             case 3: ch += *source++; ch <<= 6;
[INFO] [stderr] warning: linenoise-rust@0.2.1:       |             ^~~~
[INFO] [stderr] warning: linenoise-rust@0.2.1: native/ConvertUTF.cpp:486:41: warning: this statement may fall through [-Wimplicit-fallthrough=]
[INFO] [stderr] warning: linenoise-rust@0.2.1:   486 |             case 3: ch += *source++; ch <<= 6;
[INFO] [stderr] warning: linenoise-rust@0.2.1:       |                                      ~~~^~~~~
[INFO] [stderr] warning: linenoise-rust@0.2.1: native/ConvertUTF.cpp:487:13: note: here
[INFO] [stderr] warning: linenoise-rust@0.2.1:   487 |             case 2: ch += *source++; ch <<= 6;
[INFO] [stderr] warning: linenoise-rust@0.2.1:       |             ^~~~
[INFO] [stderr] warning: linenoise-rust@0.2.1: native/ConvertUTF.cpp:487:41: warning: this statement may fall through [-Wimplicit-fallthrough=]
[INFO] [stderr] warning: linenoise-rust@0.2.1:   487 |             case 2: ch += *source++; ch <<= 6;
[INFO] [stderr] warning: linenoise-rust@0.2.1:       |                                      ~~~^~~~~
[INFO] [stderr] warning: linenoise-rust@0.2.1: native/ConvertUTF.cpp:488:13: note: here
[INFO] [stderr] warning: linenoise-rust@0.2.1:   488 |             case 1: ch += *source++; ch <<= 6;
[INFO] [stderr] warning: linenoise-rust@0.2.1:       |             ^~~~
[INFO] [stderr] warning: linenoise-rust@0.2.1: native/ConvertUTF.cpp:488:41: warning: this statement may fall through [-Wimplicit-fallthrough=]
[INFO] [stderr] warning: linenoise-rust@0.2.1:   488 |             case 1: ch += *source++; ch <<= 6;
[INFO] [stderr] warning: linenoise-rust@0.2.1:       |                                      ~~~^~~~~
[INFO] [stderr] warning: linenoise-rust@0.2.1: native/ConvertUTF.cpp:489:13: note: here
[INFO] [stderr] warning: linenoise-rust@0.2.1:   489 |             case 0: ch += *source++;
[INFO] [stderr] warning: linenoise-rust@0.2.1:       |             ^~~~
[INFO] [stderr] warning: linenoise-rust@0.2.1: native/linenoise.cpp:131:23: warning: identifier 'char8_t' is a keyword in C++20 [-Wc++20-compat]
[INFO] [stderr] warning: linenoise-rust@0.2.1:   131 | typedef unsigned char char8_t;
[INFO] [stderr] warning: linenoise-rust@0.2.1:       |                       ^~~~~~~
[INFO] [stderr] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stderr]    --> src/ffi.rs:976:40
[INFO] [stderr]     |
[INFO] [stderr] 976 | pub type linenoiseCompletionCallback = extern fn(*mut libc::c_char, *mut Struct_linenoiseCompletions);
[INFO] [stderr]     |                                        ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(missing_abi)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: this creates a dangling pointer because temporary `CString` is dropped at end of statement
[INFO] [stderr]   --> src/lib.rs:90:42
[INFO] [stderr]    |
[INFO] [stderr] 90 |     let cs = CString::new(line).unwrap().as_ptr();
[INFO] [stderr]    |              --------------------------- ^^^^^^ pointer created here
[INFO] [stderr]    |              |
[INFO] [stderr]    |              this `CString` is dropped at end of statement
[INFO] [stderr]    |
[INFO] [stderr]    = help: bind the `CString` to a variable such that it outlives the pointer returned by `as_ptr`
[INFO] [stderr]    = note: a dangling pointer is safe, but dereferencing one is undefined behavior
[INFO] [stderr]    = note: returning a pointer to a local variable will always result in a dangling pointer
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/reference/destructors.html>
[INFO] [stderr]    = note: `#[warn(dangling_pointers_from_temporaries)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: this creates a dangling pointer because temporary `CString` is dropped at end of statement
[INFO] [stderr]    --> src/lib.rs:109:45
[INFO] [stderr]     |
[INFO] [stderr] 109 |     let fname = CString::new(file).unwrap().as_ptr();
[INFO] [stderr]     |                 --------------------------- ^^^^^^ pointer created here
[INFO] [stderr]     |                 |
[INFO] [stderr]     |                 this `CString` is dropped at end of statement
[INFO] [stderr]     |
[INFO] [stderr]     = help: bind the `CString` to a variable such that it outlives the pointer returned by `as_ptr`
[INFO] [stderr]     = note: a dangling pointer is safe, but dereferencing one is undefined behavior
[INFO] [stderr]     = note: returning a pointer to a local variable will always result in a dangling pointer
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/reference/destructors.html>
[INFO] [stderr] 
[INFO] [stderr] warning: this creates a dangling pointer because temporary `CString` is dropped at end of statement
[INFO] [stderr]    --> src/lib.rs:119:45
[INFO] [stderr]     |
[INFO] [stderr] 119 |     let fname = CString::new(file).unwrap().as_ptr();
[INFO] [stderr]     |                 --------------------------- ^^^^^^ pointer created here
[INFO] [stderr]     |                 |
[INFO] [stderr]     |                 this `CString` is dropped at end of statement
[INFO] [stderr]     |
[INFO] [stderr]     = help: bind the `CString` to a variable such that it outlives the pointer returned by `as_ptr`
[INFO] [stderr]     = note: a dangling pointer is safe, but dereferencing one is undefined behavior
[INFO] [stderr]     = note: returning a pointer to a local variable will always result in a dangling pointer
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/reference/destructors.html>
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]    --> src/lib.rs:179:34
[INFO] [stderr]     |
[INFO] [stderr] 179 |         for external_callback in USER_COMPLETION.iter() {
[INFO] [stderr]     |                                  ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]     = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `linenoise-rust` (lib) generated 5 warnings (run `cargo fix --lib -p linenoise-rust` to apply 1 suggestion)
[INFO] [stderr] warning: `linenoise-rust` (lib test) generated 5 warnings (5 duplicates)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.02s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/linenoise-069728c8c0696c6b)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests examples/linenoise_example.rs (/opt/rustwide/target/debug/deps/linenoise_example-3ac8383fae9eb9de)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "010d4eba150c01b5ff8cdbcaf8210481644c086af6aeedd25c01fd07bb3b6e04", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "010d4eba150c01b5ff8cdbcaf8210481644c086af6aeedd25c01fd07bb3b6e04", kill_on_drop: false }`
[INFO] [stdout] 010d4eba150c01b5ff8cdbcaf8210481644c086af6aeedd25c01fd07bb3b6e04
